Rewrite your code to use the same procedure for each sensor.
for (byte tca = 0; tca < maxtca; tca++) { tcaselect(tca); ... }
Rewrite your code to use the same procedure for each sensor.
for (byte tca = 0; tca < maxtca; tca++) { tcaselect(tca); ... }