Binary weighted resistor digital to analog converter