Added tests for gridded aggregation. Minor bugfix in aggregation - convert grid_delta to a float to avoid bug with it being treated as an integer.