Replaced interp1(...,'cubic') by new syntax. Don't we all love Matlab?