fixed identity matrix problem with distortion correction sampling