Add scipy and numpy dependencies.