Computation of system balancing transformations and other applications of simultaneous diagonalization algorithms | Synapse