pub fn db2_reconstruct(approx: &[f64], detail: &[f64]) -> Vec<f64>
Daubechies-4 (db2) single-level inverse DWT.