calculate the gravity center at the root level

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>
fix the Barnes-Hut simulation

The problem was in the method substract in the class Point.

Signed-off-by: Sébastien Boisvert <sebastien.boisvert.3@ulaval.ca>