Copied in some easing functions for convenience.