For storing cellsize, minx, miny, maxx, maxy
Although maxx and maxy could be easily calculated if required, for
convenience they are calculated by default during grid construction.
Returns a new Grid2DSquareCellDouble the values of which are the distance to the nearest data value
TODO: Optimise as it is currently very slow and inefficient!!!