Add metric tensor for Lattice object.