Fixed gcd in Rational

and some other minor moves.