Added a modulus method to misc

For future use.