Changed sigmoid function

Function was already getting a negative value so removed
minus sign and changed convertShut calculation accordingly