replaced maxDenominatorDigit by maxDenominator in constructor it is more straightforward and avoid an exception JIRA: MATH-181