Extracting PCA components from MNIST