Easing Functions written C