tmp commit: fixing upwind flux (wrong for discontinuous material properties)