Added scipy dependency