Added Num typeclass and instances for Number and Fraction.