SortLib: SoTblFunc - better interpolation algorithm