Nerve impulse equations