corrected degrees polynomial
changed range pol
solved degree issues