Introduction to Numerical Linear Algebra and Optimisation