Added an interpolate method.