Model analyzes how viruses escape the immune system