Lerp Function fixed