First draft of linear algebra and regression