normalized using TRAINING data for test data in D.py