Improving Ben's GCD impl a bit.