public static double Correlation(NArray returns1, NArray returns2) { return(Correlation(returns1.ToEnumerable(), returns2.ToEnumerable())); }