Hermite polynomial expansions : theory and computation