Add Sigmoid function

Sigmoid function is used in neural networks and is easy to
implement in Scala.