added PCA decomposition, and filtering based on magnitude of differences between treatments