Update min_sparse.py