Solver stability improvements. Account for ball velocity.