Current-Mode Programmable Piecewise-Linear Neural Synapses