Minor modification to permutationTest.cpp