Adding interpolation and flat poly functions