Mixed-Signal Neural Network Implementation with Programmable Neuron