Generic function for implementing stopping methods
stopping(...)
...
additional arguments
method stopping
stopping.default, stopping.maxit