implemented Kumar-Hassebrook mean similarity and his test