kernel2d function

Kernel smoothing of a point pattern