fixed bug in quaternion slerp

Slerp doesn't interpolate correctly when both quaternions are equal but with different sign.