Modified calc_size_transition_matrix to joint probability of molting and growth