Now uses the resampled data for CDe models.
Now generates 10000 resamples for CDe.