Neural networks in real-time control