add a function for laplace weights

grafik