beefed up the ipython notebook for running experiments