Modified CRC16 library for Arduino