pub fn calculate_rmse<T: PrimInt + Debug>( expected_data: &[T], actual_data: &[T], acceptable_len_diff: u32, ) -> Result<f64, Error>