Delete magic function

As recommended in IPython docs:
http://ipython.org/ipython-doc/dev/config/custommagics.html