bugs fixed.  Crude minimization works.  Will be working on improved
minimization procedure next