Encoding matrix
Decoding matrix
*
*
*
*
*
*
*
*
*
Set tables
Encode
Decode