Sigmoid Function

Provides the h(x) function for Logistic regression. Is vectorised to
allow for any number of inputs.