thin_by_cell function

Thin point dataset to have 1 observation per raster cell