added ipython notebook for testing