process headquaternion