Polynomial fit program