wrong dcor value returned for python implementation of dcor