replaced l_fn_pairs with get_average_fnorm()
added get_inner_vec() and surrounding edge check
refactoring f_loop -> floop
fixed infinite loop bug when all edge length is zero
added flip_hole option
removed flip_hole option