Fundamentals of linear algebra