Per scale matching in SD_Matching_time.m