most of backprop done, general structure finalized