Midpoint Method Evaluates a function g at each midpoint between timesteps: yi+1≈yi+Δt⋅g(ti+2Δt,yi+g(ti,yi)2Δt)