Renormalized integrals and a path integral representation of the heat kernel