added example for polynomial interpolation