calc_MC_trans_matrix function

Transition probability matrix for Bernoulli CUSUM