[PD] Find distance to a line in 3d space