Add design matrix generation.