--update to fix change to scipy API