added interpolate.m