Determination of transmembrane currents from external potential measurements by the method of regularization.