change sigmoid to scipy's expit

it's faster because the sigmoid table and other optimize for vector