Small optimization in bag_of_words calculation (doing it along termfreq)
Cleaned up files