Prepped for Free XOR

able to use wiremask to carry gate type too now