Integration of virtual and on-line machining process control and monitoring using CNC drive measurements