_spg_optim returns history of objective function values
Merge pull request #1856 from kshedden/cor_nearest_maint2

REF/TST _spg_optim returns history of objective function values