Fixes #1 where the Earth radius was being calculated as a circle not an ellipse.