Floats to Fractions in C#