Fix an error in docs, and align some code
Merge pull request #36 from knewter/doc_typofix

Fix an error in docs, and align some code