Implementation of kPC and Network Trajectory Hausdorff Similarity functions.