Tracking of interfaces for fluid flow: Accurate methods for piecewise smooth problems.