Simultaneous quasidiagonalization of complex matrices