pub fn fit_sine( nanoseconds: &Array1<f64>, volts: &Array1<f64>, ) -> Result<(f64, f64, f64, f64, f64, f64), Box<dyn Error>>