fixed the RBM MNIST viz test so that it can write the entire run to disk for further review