Upgraded to use stripped down version of Easing