Improvements to corrdinates. Added ellipsoidal coordinates.