Added slerp function (must check if it's correct)