minor changes to SDM interface I forgot yesterday
fix a few small bugs in recent SDM changes
in parameter tuning, catch exceptions with infeasible nus
looks like callbacks sometimes don't finish before join(), so use imap_unordered instead
add simple test of crossvalidate