Start of matrix class
Removal of Matrix class
Start encode lookup table implementation