grid_to_grid-methods function

Generic function to convert voxel coordinates in the reference space (LPI) to native array space.