fixed bug
DBNMNISTTest outputs test image
fix bug
wip