Risk profiling software tackles the terrorist threat