Now the parameter to regroup() can be called with None as a parameter
in order to get a list of image keys for each key.
New option to subsample (-g) samples evenly across groups