Flows of Non-smooth Vector Fields and Degenerate Elliptic Equations