Update docs/index.rst

Closes #6, Corrects documentation with regards to the code.