Added modulo function.
Update mod documentation on README.