test_det_ped.m updated