Add training loop to main.
Check malloc in readexpected.
Fix wt matrix indexing in backprop(..).
Add debugging CLI switches to build.
Free data that was read in.