updateFlock() optimization
Pulls apart updateFlock() into 3 methods