correcting issorted and according interpolation to matlab