New AI technology could help identify gunman before they can kill