Added Hebbian layer which can be used to invert the sign of the derivatives.