[Tools] enh: add probabilityDistribution function

2 jobs for dev in 78 minutes and 45 seconds (queued for 10 seconds)