attempt to optimise flocking behaviour calculations using threading. switched foreach loop to for loop. added comments to more classes