Calculates remainder of Integer division i1/i2
function intMod input Integer i1; input Integer i2; output Integer i; end intMod;