laplace function

Laplace (i.e. add constant) smoothing