A system and method for fabricating an optical element. The method includes welding an array of fibers to the optical element, measuring an angle error and a position error of each fiber, calculating a correction for each fiber for the angle error and the position error and correcting the angle and position of each fiber using the calculated corrections.