Added mean permutation test