Retrieved trialfun_param_events.m from older version
wpli now working

changes:
- changed trial length
- fixed remove_trials
- fixed WPLI
=> see mark_test for example