matrix diagonalization principles 39972