Modeling bird flight formations using diffusion adaptation