Added a ref to a function parameter in Crowd

The Integrate function modifies a few member variables of the crowd
agent.