Updated documentation and .rst files for Sphinx.