Measuring currents in a parallel circuit