Laser calibration routine