permutation_test: Run permutation test on PCA analysis.
Description
Permute data fed to PCA a given number of times, collecting the number of
significant pairwise correlations in the permuted data and the variances
explained for a given number of PCs.