A Convex-Nonconvex variational method for the additive decomposition of functions on surfaces