//: store the point formatted to use the scipy"s cdist
origin = np.array([point])
coords = self.extract_sf("x","y","z", element=element)//:get the coordiantes of the point as str in order to name the SF
name = ",".join(str(e) for e in point)
After Change
//: store the point formatted to use the scipy"s cdist
origin = np.array([point])
coords = cloud[["x","y","z",]]//:get the coordiantes of the point as str in order to name the SF
name = ",".join(str(e) for e in point)