How a Computer Model Could Help Fight Terrorism