Support dense matrix in the column format in pca_project