add makeSamplesForEachTarget() & writeCSVForEachSamples ()