Matlab protocols in paper 'How One Might Miss Early Warning Signals of Critical Transitions in Time Series Data: A Systematic Study of Two Major Currency Pairs:' method by Haoyu Wen