Fixed a polynomial printing bug.