setMinMax function

Set the minimum and maximum value on a model parameter.