[Olena-patches] milena r3749: Add overload for creating 2D neighborhood with a functor