Text this: A Novel N-Input Voting Algorithm for X-by-Wire Fault-Tolerant Systems