Replaces custom linear interpolation logic with `std::upper_bound` for improved efficiency. Refactors the permeability plot panel to utilize the improved interpolation tool.