tidying up motion_distortion_correction_highb.m