Fixed bug in backProp