Update polynomial.h

Enumeration type and corrections to function declarations