adding a test and some comments for interp1.