implemented Kullback-Leibler distance and their test