61COM507-Variational Calculus and Tensor Analysis