fixed x0 init in mnist example