SIR-class function

Definition of the SIR model