Simplifcation of `isReducedFraction`.
Merge pull request #200 from ezequiel/isreduced-fix

Simplifcation of `isReducedFraction`.