normalize input data for NN