Update createReducedDataset.r