Fixed summarizeSyntheticDataSet to work also with non-simulated data sets.