Added Math.gcd.