Matlab code of a simplified computation of expected payoffs and default probability of CDO