whitening nn data in training scirpts