Correct typos in documentation

There are a couple of spelling typos in the documentation - eg "paramaters" and "occurrs".