fix a bug in the use of mpz_invert
Merge pull request #1 from srinathtv/master

Fix Invert