stats: fix explicit formulas for the dlaplace stats
add a test
tweak tests
Merge pull request #2562 from bburlo/dlaplace

stats: fix explicit formulas for the dlaplace stats