Added helper functions in NeuralNet to ease access to weights[][][]
array.