Changed the input matrices for P_likelihood code.