Create a Sigmoid Function.
The center point of the sigmoid curve (where it outputs 0.5). Must be finite.
Width of the transition: it appears in the denominator
as 1 / (1 + exp(-(x - center) / slope)), so a smaller magnitude means a steeper
transition and a larger magnitude a gentler one. A negative slope inverts the
curve into a decreasing S (high membership below the center, low above). A slope of
0 degenerates to an increasing step at the center (0.5 exactly at the center).
Must be finite; non-finite center/slope throw.
Class representing a Sigmoid.
Example