changed matrices to be dtype int16
added interactive main and classify method for runnin as a module, also added min_word_size parameter