On the regularity of vector fields underlying a degenerate-elliptic pde