Move lerp to header file

Moved the lerp function header file.

Removed print out