On the transformation of linear multivariable systems to canonical forms