MAINT: optimize: Some code cleanup

This started out as a change to a single word in the docstring of `anneal`, but I figured while I had the file open, I'd clean up a bit.  I guess I got a little carried away.