pub fn rastrigin_derivative<T>(param: &[T]) -> Vec<T>where T: Float + FromPrimitive + Sum + Into<f64>,
Derivative of Rastrigin test function