Update NeuralNet.java

Completed formatting and content update. Ready to merge.