Making image saving more general
Switching to pairwise processing
Added a naïve overlap method