For getting the unique words for each sensor. Also, removed static from MatlabUtils