NUMERICAL METHODS FOR NON-SMOOTH L OPTIMIZATION : APPLICATIONS TO FREE SURFACE FLOWS AND IMAGE DENOISING