Mono.Math.BigInteger.modInverse C# (CSharp) Method