split the inner procedures of nxn.NeuralNet in methods