Minor change in bias input from -1 to 1 and it can now update w0 in a neuron too.