probability density algorithm fix
Merge remote-tracking branch 'origin/master'