Deleted the BackpropagationNet class and moved the functionality to Net.