On derivation of stagewise second-order backpropagation by invariant imbedding for multi-stage neural-network learning