Balancing three matrices in control theory - Bosner, Nela (Array, 2014)