there was a bug in calculating term frequency in TFIDFCalculator -- now fixed