Added parity checking to UART::receive_array()