DOC: add examples and more detail to optimize.brute docstring.

Reviewed as PR-364.