Added ipython notebook for cost sampling