extended quaternion with rotation sequence