Fixed polynomial computation bug

Before, it was reversing the coefficients in place each time the
function evaluated, which caused problems when more than one value was
computed from the sample parameter list (e.g., in the evaluate()
function).  Removed the reverse from polynomial().