Based on the latent attribute space, generate a matrix indicating whether it is possible to transition from pattern cc to cc' under the monotonicity learning assumption.
TPmat(K)A 2^K-by-2^K dichotomous matrix of whether it is possible to transition between two patterns
TP = TPmat(4)