Neuron Models and Algorithms