Applications of the Kirchhoff-Helmholtz integral to problems in seismology