Fixed some typoes
Finished debugging geodesic code