Calculate CRC16 check code based on array