Added Rational class