added in bias nodes, weight correction not working

For some reason the weights get worse and the network converges to only
outputting one value no matter the input given. Something is wrong with
the weight correction.