Improve docstring of derivative(). Can still be elaborated much more but at least should be a bit clearer now.