+ fix possible endless loop in mesh grid, allow to set an array of points to the kernel