Added JensenShannon distance function with test