The activation function.
@override double activate(double x) { x *= 3; return 0.5 + ((x) / (2.5 + x.abs()) / 2); }