MNIST modifications
documentation for contrib  and sampling algorithms improvements