Optimizing Second Harmonic Generation in Metasurfaces: The Mode Overlap Factor | Synapse