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.
With this added, we no longer need the conditional addition on `DOC_LENGTH_MAX` below.