fix spherical to cartesian