Update preprocessTrainingSet.cpp