Computing volume potentials for noninvasive imaging of cardiac excitation