implementation of the flip-flop filter as described by Minkyong Kim in Mobile Networks Estimation