get_matrix_filled