errors pointed out by Jean-Baptiste Pressac in http://markmail.org/message/iygk44hbpf2jsec2
minor edits.
Merge pull request #11 from jensopetersen/master

errors pointed out by Jean-Baptiste Pressac in http://markmail.org/messa...