Basic simulation of a single neuron