first attempt at optimizing code. the number of iterations in the inner loops of updateParticles() is reduced, since the forces can be applied to both involved particles. Thus, inner loop j starts with i. However, after optimization, parallelization is not possible (?) in some parts, so the code is slower after all.