more edits to secs 3-5; just need
to finish the lasso example and run it to make sure it works