Fixed a bug in debugInfo

- debugInfo was failing when byteArray containing 0
Fixed a potential bug in kiwi checksum computation