Tensor Eigenvalues and Their Applications