Allow custom command line options to be specified.
Correct errors in function header documentation.
Add missing function header documentation.
Consistently and correctly capitalize and punctuation function header documentation.
Use whitespace correctly and consistently.
Always use curly braces.
Merge pull request #21 from bevanr/master

Custom command line options, documentation corrections and various code style improvements.