Zaslat SMS: The theory and application of harmonic integrals