added another case for changing from grid indices to projected space instead of spherical