Dot product of this quaternion and o.
o
double dotProduct(Q o) => x * o.x + y * o.y + z * o.z + w * o.w;