beginning of a function to find ERP peaks
peak support