fix fraction simplify in the calculation class