draw_matrix