Update NeuralNet.java

Middle of updating.