Created a method to handle application of the gravitational force to a particle.
Removed unnecessary code and modified the nested for-each loops that deal with the application of gravity to the particles from the particle holes to use a new method of the particle hole class.