Calculates and corrects for lens-distortion models including chromatic abberation from confocal stacks.