Generalized Theta Series of a Lattice