Add method to calculate acceleration
Working methods for the simulation