Fixed bug in backprop.