testing damien's sphere transformation of distances