using a sigmoid function as sensor input.