/// <summary>
        /// Converts DIS xyz world coordinates to latitude and longitude (IN DEGREES). This algorithm may not be 100% accurate
        /// near the poles. Uses WGS84 , though you can change the ellipsoid constants a and b if you want to use something
        /// else. These formulas were obtained from Military Handbook 600008 </summary>
        /// <param name="xyz"> A double array with the x, y, and z coordinates, in that order. </param>
        /// <returns> An array with the lat, lon, and elevation corresponding to those coordinates.
        /// Elevation is in meters, lat and long are in degrees </returns>
        public static double[] xyzToLatLonDegrees(double[] xyz)
        {
            double[] degrees = CoordinateConversions.xyzToLatLonRadians(xyz);

            degrees[0] = degrees[0] * 180.0 / Math.PI;
            degrees[1] = degrees[1] * 180.0 / Math.PI;

            return(degrees);
        }