Worked on using sphere cords for orbit calcs (untested)