Add IActivationFunction::derivativeFromOutput(double output).
Change using derivative to using derivativeFromOutput.
And maybe some other changes.