Exponential synapses: only calculate waveform shape parameters once.

In the previous implementation, "peakTime" and "factor" were being
recomputed at each timestep despite being constant.