fix mat_le_stress() for heterogeneous parameters in 2D