fix minor bugs
restore the neighbor dao to angular distance