Updated current measurement circuit.