Python batch lens distortion correction