Added Documentation and some minor fixes
Merge pull request #25 from edelbluth/missing_code_documentation

Added Documentation and some minor fixes