Changed sigmoid to better one.