Fixed threshold error for APPROX_RAIDER and RAIDER_prescan. Also, modified priority queue in APPROX_RAIDER