A new method for thread calibration on coordinate measuring machines