pub fn rk4_step<F>(state: &mut [f32], dt: f32, t: f32, derivative: F)where F: Fn(&[f32], f32) -> Vec<f32>,