A modified third order Runge-Kutta method