scantwopermHK: calculate max LOD scores for each permutation replicate