Understanding lens distortion