Generation of AP in a Neuron