Moved functionality from neuron's MembranePotentialXYDataSeries to XYDataSeries