prepre to calker_generate_random_classes.m