baseline correction to template 50Hz in order to leave low frequencies intact