Updated orbit_point code to include all of the calculations.