Data interpolation in python and scipy