Refactoring, better commenting, and a bugfix

get radius from true anomaly was bugged due to a sign being the opposite
of what it should have been. not sure what if any effect this would have
had, as I am still searching for what is causing planets to double back
on their orbits occasionally.