gen_pr_matrix_cluster function

Generate condition probability matrix given clusters and probabilities