Use of stream functions for the computation of currents in thin circuits determination of the impedances