Binary weighted resistor network