added function to get threshold value from sigmoid function, function name 'GetThresholdValueFromSigmoid'
added function to get threshold value from sigmoid function, function name 'GetThresholdValueFromSigmoid'