Allow multithreaded CMAES.

@sherm1, are you okay with my use of auto_ptr?