EventCovariate function

Create an event covariate. These covariates can be modified further in interruption events.