Found a sign error in the Euler method for updating the "m" variable