Hello, This isn't not the answer you expected, but if you receive no answers, this may help : You'll find a lot of informative stuff and algorithms at J. Ehlers web site, specifically at http://www.mesasoftware.com/technicalpapers.htm Olivier.