little updates int->fract and double -> fract -> gcd