Lout error in the interp1 method of the class