Added smoothening to TV inversion