Tweaks and fixes to math.cfg, mainly making an int version of constrain.