Enumerate possible counts for calculating binomial probability
expand.mat(mat, vec)
mat
Matrix
vec
Numeric Vector