implemented negative-KL similarity index