Fixing Modulus and Remainder operations.