On Development of an Optimal Control System for Real-time Process Optimization on Milling Machine Tools