Removed useless docstrings and updated the sphinx documentation index.
Moved some stuff related to matplotlib into a separate module, to prepare for Pypy.