math.primes.miller-rabin: minor cleanup;
math.functions: minor cleanup to (gcd).
math.primes.miller-rabin: actually, this is better.