Updated quaternion.js