BigInt.InvM (gb.gmp)
Compute the inverse modulo 
Mod and return the result.
If the inverse exists, the return value 
R is non-zero and it will satisfy 
0 < 
R < 
Abs(
Mod).
If an inverse doesn't exist the return value is undefined.
The behaviour of this function is undefined when 
Mod is zero.