Updated quaternions to use GLM library (Vec3f-->vec3).