Fix typos and improve consistency

Besides fixing a few typos, use ellipses a bit more consistenly
in code snippets.
Merge pull request #32 from tanimoto/master

Fix typos and improve consistency