added a polynomial interpolation scheme