Expand a design to a model matrix for custom OLS (intercept + mains + optional interactions).
Optional
Expand a design to a model matrix for custom OLS (intercept + mains + optional interactions).