correct the sigmoid arithmatic in the cuda kernel

Change-Id: I135ce541776471de20cf52605dfc644de8e53ad0