Using Intelligent Agents to Support Collaborative Virtual Environments for Training