aligned with MATLAB, 'nearest' instead of 'constant'

and new 'cubic'