unused imports
removing unused broken debugging code
docstring for base.Trials
docstring for fmin