Xyz to lat long formula. The Z-coordinate is positive toward the North pole.