mkStochastic function

mkStochastic ensures that it is a stochastic vector, matrix or array.