Foundation for neural network