Improving 3D reconstruction tracks using denoised euclidean distance matrices