Fix bug where synaptic current was calculated only partially.