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
Code review fixes for previous 'Add Modulo' push
Merge pull request #2 from keithhackbarth/master

Add modulo function.