Renamed actor -> agentindex for clarity, and added simulation functions.