implemented Jeffreys distance and their test