Rename varzm_pairwise -> sumabs2_pairwise

Also some minor reorganization