Fixed errors with easing function when the tweener value wasn't a number