Iterative Learning Control of a Multiagent System under Random Perturbations