added updateWeights() to BiasNeuron