Extension of the Global Matched Filter to structured groups of atoms: Application to harmonic signals