smth function

Posterior smoothing of single local labels.