Pi sigma network, summing in hidden layers, product in output layer