Linear algebra and linear models