Good Morning,
The code sent by Hans doesn't work for me. Maybe it's my context tree.
I've already emailed the authors. Floris, thanks for the suggestion.
Jorge Magalhães