public void Produce() //tested
        {
            Console.WriteLine("Task_Dendrite {0} is producing...", Id);
            while (DateTime.Now - start < runLength)
            {
                Thread.Sleep(dendrite.ProductionFrequency); //simulate biology speed
                int difference = dendrite.GetMembranePotentialDifference();
                body.AddToBuffer(difference);

                //Console.WriteLine("Task_Dendrite {0} produced {1} to cell body buffer.", Id, difference);
            }//end while

            Console.WriteLine("Task_Dendrite {0} is done.", Id);
        }