first iteration of vanilla basis pursuit