First, crude reimplementation of Minimizer.
Adapt to the new convention in eigs().
Added the minimize() routines together with some preliminary tests.