Error check mallocs.
Motify readdata.
Add func to read expected output.
Initialize weights and thetas.
Read in expected outputs.
Call backprop kernel.