Writes weights to PCA transformed data