vectorized sigmoid function python