Added documentation.
Merge pull request #1 from kjgerardi/improve_documentation

Added documentation.