All kernel functions but Sigmoid now run to completion, though
results do not look correct.
Sigmoid crashes with a math domain error, probably from the
math.exp() function.