Quaternion Invariants of the Minkowski Space: Technical Report