Improvements to the math in mEase