Updated Modified Euler Solve definition

corrected the mean value calculation.