added some comments to the NeuralNetwork