constrain function

Constrain Parameters of a Model