Included interpolation algorithm.