Moved interpolate.py. Reduce dependency.