Text this: A novel N-input voting algorithm for X-by-wire fault-tolerant systems