calculate the angular velocity of a group of spinning dogs