updated wifi algorithm and interface to eliminate noisy data caused
by weak networks (set to 0)
Added threshold parameter for weak network elimination, and low
number of networks elimination.