Matching Waveform Envelopes For Earthquake Early Warning