I am struggling to numerically solve Newton\'s equation for gravity using scipy.integrate.solve_ivp. I can get the coding working when one of the bodies is assumed stationar