Initial version of modulo function.
Add convenience functions for less than or equal.