Understanding the Role of Heat Treatment in Precision Machining