Update make_matrix.py