Comments added to assertions
Samples in plot_f fixed for sparse_models
Redundant code commented