Improved comments and fixed minor bug.
Merge pull request #23 from tmoc/tom

Improved comments and fixed minor bug.