[SciPy-User] fun with debugging: np.linalg.inv with singular matrix