I have a MIMO system , 3 inputs, 3 outputs. Joint angles and joint velocities are some of the states and a relative degree r = (3,3,3). This requires that in transforming to get the internal dynamics, I have to have joint acceleration. Whereas I can formulate acceleration from angle and velocity, it is not one of the states. How do I define the transformation matrix in such a case?