Update NeuralNet.java

Updated formatting