Penner's easing functions in C#