Fail unit test

miscalculating d for dataset 1 and dataset 1