Fixes for the word "maximal" in the codebase.

There are a number of places where the word "maximal" is used, this is a fix for that, changing it to maximum and changing the grammar of a number of sentences.