public Decimal getDistance(final Particle other) {
Decimal squareDistance = new Decimal();
for (int j = 0; j < DIMENSIONS; j++) {
squareDistance.add(getX().sub(other.getX()).sqr());
}
return squareDistance.sqrt();
}
public Decimal getVelocity() {
Decimal velocityModule = new Decimal();
for (int j = 0; j < DIMENSIONS; j++) {