neural network mathematical model