Determination of cardiac equivalent generator properties using a numerical expansion method.