function calcRot import pi = Modelica.Constants.pi; input Integer k; input Integer M; output Real[3, 3] Rot; end calcRot;