Elements of linear algebra