fix adiabatic issue in python code at peri or apocenter
fix (slightly different) issue with orbits at peri or apo in C, fixes #117