Using normal sigmoid again because otherwise tests fail (why?)
More debugging for tests