Random binarization for MNIST
Better logging & epoch counting: