Conversion of Latitude and Longitude coordinates to Cartesian Coordinates.
Based on formulas by Peter H. Dana - 8/3/96
Units are kilometers
Latitude: 0
Longitude: 0
Elevation: 0
X: 6371
Y: 0
Z: 0
The results will follow a right-handed coordinate system like the one below.
To find the distance between two points, I recommend using Vincenty's Formula.