fixed compilation errors in Learned_group_synchrony_worker.c: forgot to include stdlib so rand funcs didnt work