Investigation into the calibration of CNC machines