MINOR: add debug script.
Use np.linalg.solve