Mathematical model of spontaneous activity of some neurons of the central nervous system