Numerical Analysis, Python Debugging Newton Interpolation Code