An Introduction to Linear Algebra and Tensors, Revised Edition