Fixed Mode = NA issue of high detection

Fixed Mode=NA issue in formulas and added "Top 5%" outlier test.