moved normalization to neuralnet code