changed output when choosing an polynom for calculation