An Agent Model of Pedestrian and Group Dynamics: Experiments on Group Cohesion