A Multiplexed 20-Channel 6-Decade Range Resistance-to-Digital Converter for 2D Heterogeneous Metal-Oxide Gas-Sensor Arrays