added the training set normalization in the algorithm