Bezier and easing functions based on Robert Penner's Easing Functions