documentation for NeuralNetwork.java