Glad you got it figured out. It's really just basic maths when you look at it. I didn't have any trouble setting it up when I was testing it. The dir calc works too of course. :)