fix(lmweight):Fixed upperbound wrong bounds formu

Upper bound formula for TWO_STAGE and DIRICHLET should have doc_length_upper_bound
in numerator rather than doc_length_lower_bound. Since it sum was exceeding the bound.
Replace lowerbound in numerator with upper bound.
Now we're precalculating this, we no longer need to store `collection_freq` or `total_collection_term` in the class.