Changed Trapezoid rule integrator into ESDIRK2 scheme.