Update to new scipy version

recent scipy version that changed the API

error when importing 'from scipy.integrate import trapz' (in the latest versions it should be trapezoid) and 'from scipy.misc import derivative'.