Added integer math convenience functions.

See intmath.h