Implemented quaternion