working interpolation logic , scipy installed