diagonals_of_matrix