Discard rows and columns from a matrix that exclusively contain zero-valued off-diagonal matrix elements
Useful links