Cleaning up mlp_train code

remove unused arrays, add missing free()s, get rid of trailing spaces
1 file changed