RESEARCH OF ALGORITHMS AUTOMATED CALIBRATION OPTOELECTRONIC MEASURING SYSTEMS WITH MATRIX PHOTO DETECTORS