added ipython notebook to check code and figures