Change List<double> to Tuple<double, double>