Tensors, Differential Forms and Variational Principles