Extraction of the envelope from surface EMG signals