changed how toFraction converts a real into a Fraction to make things li...

...ke 0.333333... become 1/3 and not 333333/1000000