turned kp-match into a function and added a tolerance of 10 pixels to ground truth