Removing derivative trees to speed up backprop.
Fixing error in weights update (removed unneccessary regularization term).