fix typos. refs #309

I've fixed a few typos in #309.

Please review the issue and this pull request.