adding scipy and numpy