Extracting RBM components from MNIST