KernelRectangular function

Build a rectangular kernel of size X x Y