Calibration of manipulator