An Introduction to Tensors and Group Theory for Physicists