Fixed `simple_linear_interpolation` to avoid numpy DeprecationWarning
over the use of non integer slice