Finished perceptron permutation test