Add quadratic interpolation