Corrected tfidf algorithm, added GUI