Changed documentation to Sphinx.