SFM: Updated nearest neighbor code