Adding some codes - using scipy.interpolate library
Updating