Matrices and their Kirchhoff graphs