print matrix P = T - M + I