Added NN for dimension reduction