General purpose N-Polynomial fit