Generalised Theta Functionsb for Lattice Vector Quantization