fix: DE solvers convert len-1 arrays to scalars for return values for cost


git-svn-id: svn+ssh://svn.mystic.cacr.caltech.edu/mystic/mystic@729 968178ea-60bd-409e-af13-df8a517b6005
Merge branch 'master' of https://github.com/uqfoundation/mystic