Compute transformation matrix from non-consistent quaternions
function quat2T extends Modelica.Icons.Function; input Real q[4] "Quaternions (non-consistent)"; output Real T[3, 3] "orthogonal transformation matrix"; end quat2T;