Update xcorr2imgs.m