Add implementation for covariate matrix container