adds times and accelerations to dictionary and does the math after -> sorts the times to eliminate the negative elapsed time problem