fixed stdp kernel so it integral of kernel = 0