Thank you, it has certainly got me started. The final plot is pretty much what I am looking for (without the reversal).