Linear tensor interpolation in Matlab