pub fn rastrigin_a_derivative<T>(param: &[T], a: T) -> Vec<T>where T: Float + FromPrimitive + Sum + Into<f64>,
Derivative of Rastrigin test function where a can be chosen freely
a