cdmSample function

Subset a cdm object to a random sample of individuals