Make a slightly change to test and add comment on the cost function
section needed to be modify to add both sparsity and regularized terms.