Edited all the functions in sparse_deconvolution.py.