Correct some spelling and add codespell config file

In one case, renamed a variable from `larg` which codespell thought was
a typo for `large`.

Closes #1411
9 files changed