public static double Distance(this Space space, int a, int b) => Sum(space.Axis, i => Math.Pow(space.Particles.Position[a, i] - space.Particles.Position[b, i], 2));
public static double Force(this Space space, int a, int b) => space.Charge(a, b) / space.Distance(a, b);
public static double Charge(this Space space, int a, int b) => Mul(space.Charges, i => space.Particles.Charge[a, i] * space.Particles.Charge[b, i]);
public static double Force(this Space space, int a) => space.Charge(a) / space.Distance(a);