C++ models of electrical activity of neural cells