corrected the CF part
added the TF-IDF formulas