Update polynomial.c

This is the final edit.