Update interp1 function to use pchip instead of csap as the latter will be removed in a future version of MATLAB and the innumerable warnings were doing my nut in. I checked the output using the new interp1 call and it's identical to the old version. Also update the parallel toolbox stuff for the same reason (future removal).