Added tween and easing functions from COG