modify kepler_formula