removed ipython notebook tags and improved comments