Add unistd.h to global_settings so it knows what useconds_t is.
Fix bug in setting number of fixed/ignored params.
Doc update for affineEnsemble::sample