Renamed Tween function to TweenCalc to fix a naming clash between the Tween Class and this function.