DOC: Created Sphinx documentation for code.