Almost done with evaluating detection. Still debugging. Matlab is awful.