fixes to xrdutil.simulateGVecs
fixed conditional for distortion handling