pub fn get_det_spd(matrix: &ArrayView2<'_, f64>) -> Result<f64, Error>