Internal helper function for TumPur_LogLik_CPP when NumIntMethod == "NewtonCotes"

LogNewtonCotes_CPP(lower, upper, a, b, q, TC, RC, curTR, curRC, Wvec)