Consolidated functions

Consolidated all EMG processing functions into the LabChartEMG2 script