fix #31 wrong polynomial integral