Fixed non-working SLERP function by using code found from Rensselaer Polytechnic Institute.
http://www.ecse.rpi.edu/~wrf/wiki/ComputerGraphicsFall2012/guha/Code/quaternionAnimation.cpp