bugfix + pretty printing for PCA