resample_grid function

Create a full grid from a set of coordinates