Fixed typos.Fixes #10 and #18.