thinPoints function

Reduce number of points in same raster cell