updated the fraction class so that it can return the ratio in double
fixed Tobias's classes so that the cell size is now based on the Fraction class