A new nonlinear functional for general scalar conservation laws