add more tests
increase precision of linear interpolation; update interfaces; add bits() and bitsF(); update tests