Stav dette: Calculus on surfaces with general closest point functions