quaternion roation optimization

qPq^-1 -> qPq*