Back propagation in non-feedforward networks