make word2vec multithreaded