clean testneuralnetmnist slightly
add linear activation
add linear activation
tweak doc