update PCA transformation to support performing a PCA on an already centered matrix
remove dependency on the mean centering for calculating input dimensions