Rearranged the cesModel2 function to reflect our current thinking about the order for the algorithm.
Commented getAllResampleData2, because we don't use that function.