Changed visibility of updateNeuronWeights.