Fixed `simple_linear_interpolation` to avoid numpy DeprecationWarning
over the use of non integer slice
Merge pull request #2100 from glyg/master

Remove DeprecationWarning in simple_linear_interpolation