Calculate the pairwise divergence of a sliding window over an MSA