sleepscorePCA now writes to a file and plots
testing PCA