pub fn correlation(x_values: &[f64], y_values: &[f64]) -> Option<f64>
Computes the Pearson correlation coefficient between two vectors of f64 values. Returns None if the input lengths do not match or are empty.