moved "weight * error" multiplication into weight->errorValue(),

to match implementation in master branch