Made changes to word_cache to speed up mixing time
Removed sort from word_cache. Instead use bisect to find insertion points
Changed entries to word cache from (topic,count) to (count,topic) to take advantage of natural tuple ordering for sorts
More refactoring