Text this: New RTD-Based General Threshold Gate Topologies and Application to Three-Input XOR Logic Gates