Midpoint Method

Evaluates a function at each midpoint between timesteps: