Hartigan's Dip Test Statistic for Unimodality - Corrected
Compute Hartigan's dip test statistic for unimodality /
 multimodality and provide a test with simulation based p-values,  where
 the original public code has been corrected.
Martin Maechler (originally from Fortran and S-plus by Dario Ringach, NYU.edu)