calculateing multivariate hypergeometric distribution