gridData: Apply a grid (2D bins) to nodiv objects of type 'points'
Description
Takes an object of type distrib_data or nodiv_data, and puts the point distributions on a grid. Can also be used for resampling grid data at a coarser scale. If the comm matrix has abundances (any one value larger than 1), they are summed across points in the grid cell.