Fix STDP equations.