Given a vector of counts in cells, x
and a stochastic matrix prob
, each
row of which describes a probability distribution of how that cell should be
distributed among bins, sample destination bins for each cell count, and return
a vector giving the number of counts in bins. It is conceptually similar to
"stochastically" distributing the vector as x %*% prob
, which gives the
expectation.