fixed backprop f'n

had some hardcore errors