Fixed wrong calculation of step error for RK4 adaptive