diagonal_matrix.rb added