Finally fixed animations. The issue: Quaternion slerp oscillated between
two possible solutions q1, -q1 representing the same rotation. Added code
that always chooses q such that q1 dot q2 > 0