added weight and feature vector. working but slow. needs multi-get variants of tf, idf and weight.