Major update: Added functions for the IPython Notebook