Sparse Estimation with Math and Python