Primary implementation of STDP.

A variant of the online version of Gerstner et al's and Kempter et al's
STDP model. This model has been used to fit biological data pertaining
to STDP. (See http://www.scholarpedia.org/article/STDP).