pub fn smooth_interpolation(
    bottom_left: f64,
    top_left: f64,
    bottom_right: f64,
    top_right: f64,
    x_min: f64,
    x_max: f64,
    z_min: f64,
    z_max: f64,
    x: f64,
    z: f64
) -> f64