Layer perceptron, drive torque from state variables