returns the fraction simplified