minor fixes + added files for mlp on mnist example