cartesian -> spherical cordinate is revised.