Exploded analysis to bring in stuff from ipython notebook
tidying
time to prune some branches