void pointSubtract(List<double> a, List<double> b, List<double> res) { res[0] = a[0] - b[0]; res[1] = a[1] - b[1]; }