updated documentation. fixed sphinx.rst errors.