General algorithm for high quality decoupled linear multivariable systems using frequency domain algebraic techniques