validParams function

Validate MizerParams object and upgrade if necessary