Text this: High-Accuracy and Efficient Simulation of Numerical Control Machining Using Tri-Level Grid and Envelope Theory