fixed result-out-of-range bug
det_mod_pk_fix_SE_corner() passes test