Joachim ading script for ICA and PCA