Fix the errors during rotation by normalizing the axis vectors.