Fixed an old backprop bug resulting in segmentation faults for larger networks.