Added some debug to the sigmoid again.