code used to generate dictionary.mat. need to confirm tif this dictionary.mat is valid