Fix index.rst indentation.
Add motivation section to documentation.