UTILITY
(Integer x, Integer y, Integer z)
Spherical coordinates
This function converts the cartesian coordinates given to spherical
coordinates, in the order Bearing, Elevation, Range.  Bearing is between 0 and
360 degrees, and elevation between +90 and -90 degrees.
