Fixed typos and formatting

Updated comment header, auto-formatted document, organized using
statements and fixed a few spelling errors.
Merge pull request #6 from eocrawford/master

Fixed typos and formatting