added the acceleration function, accepting 3 parameters; also added the acceleration information to the paragraph