removed small quaternion bugs