Set up constraints for optimization
get_constraints(newpars)
newpars
A list of lower and upper constraints
Useful links