Fixed error in binomial coefficient computation JIRA: MATH-241 Reported and patched by Christian Semrau