An Automatic Calibration System Software For a Medical Laser Device