rk4-euler magic