Better handling in the tf-idf section.  Set a minimum occurrence of 1 to precent infinities from cropping up (I know this is due to a bug).