Added polynom function