improving storage of pca model: NOT WORKING