extract_MIdata function

Extract a specified number of multiple imputed datasets