first take at new mergeImages, using sub2ind method.