adding mdp - pca matrix creation still in works