added a print_matrix_row() method to MatrixUtils