Simulation And Compensation Of Thermal Errors Of Machine Tools