Merge pull request #478 from MasterDuke17/make_exptmod_with_modulus_1_always_0 Give correct values for invmod with modulus of 1