Implemented equatorial->cartesian transformation