updated Rational

more inheritance tomfoolery