Implemented covariate table calculation.