Drop most of the polynomial math.

Ended up not needing it.
Fix some test error messages.