find_max.m able to locate peaks on correlation map