Fixed an error with calculating IDF, all working now (1,2,3,4 grams)
In middle of changing calculation to 2 methods (calculateIDFandTF, and calculateTFIDF) (1 and 2 done, need to do 3, 4 and basic)