ANN Backpropagation with cell array