grid_to_coord-methods function

Generic function to convert N-dimensional grid coordinates to real world coordinates