code cleanup - made a new function for recorded flock data
fixed bugs in the angular velocity computation