Added an ease function for using Easing functions with movement.