fixed NTimesDerivativeFunction::derivative assertion.
method does not access correct version of the multiple
"static const int derivabilityOrder" which exist in the
inheritance tree.