Fixed error in UnscaleTrainingData