SIRPartialImmunity function

SIR model with partial immunity (P 4.1).