sorry I should have been more specific, I got it working with the new code you posted above
great work, I will spend more time on understanding the new code, I had made some considerable headway on the old code and wish i had more time, but alas, this is finals week for me. I have also been reading up on optic flow, and as soon as i can get my head organized I will sit down and write up a good post.