Add modulo function.

I come across this use case a lot and in programming, I consider mod to
be one of the core mathematic functions