fixed MinDist class likelihoods bug