Matrices and Tensors in Physics