Tf-idf debugged. MatrixGenerator added.