some pca_full additions. proper sparse matrix handling in rmempty (still not ready)