Fixed typing and began work on BackpropTrainer