changing sigmoid function back to original