crossValidation function

Simulate variables of population data by cross validation