Add a modulus argument to math.prod

FYI: They are planning to split out the stuff in math that are specific to integer arithmetic. Consider how this could fit within that plan:

  • A separate function in the separate module/submodule.
  • Or if you plan mod to allow non-integers.