where A is the area of the surface integrated over. Although these are improper integrals, by suitable substitutions the exponentials can be transformed into complex Gaussians and the definite integrals evaluated resulting in: