Changed guideline for docstrings.
Expanded documentation.