Fixing error with wrong for loop index used in ChiSquared[kk] = 49.9 and adding UsedLowestChiSq variable for correctly dealing with the 4 jets case