<ram.rachum at gmail.com> wrote in message news:1015fc7a-9e2c-4025-a062-9f90311ed120 at r66g2000hsg.googlegroups.com... >That was suggested. Problem is, that sometimes the velocities are near >zero. So this solution, by itself, is not general enough. Maybe working in p, and delta-p would be more stable.