Created massi.dip function for calculating z-scores and dip statistics.