Fixed gcd (iterative) for negative numbers.