Thank you for the nice contribution and detailed comments on the code.

Ioannis