Update NeuralNetwork.java
fixes in apply gradients
Readjust comments
Update from James