pub fn interpolate_sorted(points: &[(f64, f64)], x: f64) -> Option<f64>
Interpolates x over points sorted ascending by their first coordinate.
x