Modifications to interpolate.py for move to SciPy 0.13.2