Removed obsolete variables

Removed check for even and odd modulus