added document comments to polynomial functions, generalized tvalue1