Immune response to a malaria infection: properties of a mathematical model