Typecasting changes to tfidf.One test fails in an inexplicable way.

Changes to existing weighting schemes.