work on cart2Sphere function
work on cart2Sphere function